﻿using System;
using System.Collections.Generic;
using System.Text;

namespace HlElock.Api.Models
{
    public class ApiResponse<T>: ApiResponse
    {
        public T Data { get; set; }
    }

    public class ApiResponse
    {
        public string Code { get; set; }
        public string Message { get; set; }
        public bool IsSuccess { get => Code == "200"; }
    }
}
